package com.ybxx.fees.model;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.ybxx.base.model.Room;
import com.ybxx.core.model.BaseModel;

@Entity
@Table(name="tbl_fees_hlf_record")
public class HlfRecord extends BaseModel {
	@Id
	private String hlfrcode;
	@ManyToOne(targetEntity=Records.class,fetch=FetchType.LAZY)
	@JoinColumn(name="frcode",referencedColumnName="frcode") 
	private Records records;
	private String combined;
	private String fees;
	private String realfees;
	public String getHlfrcode() {
		return hlfrcode;
	}
	public void setHlfrcode(String hlfrcode) {
		this.hlfrcode = hlfrcode;
	}
	public Records getRecords() {
		return records;
	}
	public void setRecords(Records records) {
		this.records = records;
	}
	public String getCombined() {
		return combined;
	}
	public void setCombined(String combined) {
		this.combined = combined;
	}
	public String getFees() {
		return fees;
	}
	public void setFees(String fees) {
		this.fees = fees;
	}
	public String getRealfees() {
		return realfees;
	}
	public void setRealfees(String realfees) {
		this.realfees = realfees;
	}
	
}
